package FanXin;

public class FanXing1 {
    public static void main(String[] args) {
        MyArrayList<String> showList = new MyArrayList<>();
        showList.add("xxx");
        showList.add("yyy");
        showList.add("zzz");
        System.out.println("showList = " +
                "" + showList);
        MyArrayList<Integer> showList1 = new MyArrayList<>();
        showList1.add(1);
        showList1.add(2);
        showList1.add(3);
        Integer [] arr = {1, 2, 3, 4};
        showList1.printArray(arr);
        System.out.println("showList1 = " + showList1);
        System.out.println("showList1.get(1) = " + showList1.get(1));
    }
}
